﻿package org.catapult.event {
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Lam Do
	 */
	public class XMLServiceEvent extends Event {
		public static const XML_COMPLETE: String = "XML_COMPLETE";
		public static const XML_ERROR: String = "XML_ERROR";
		public var xml: XML;
		
		public function XMLServiceEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) { 
			super(type, bubbles, cancelable);
			
		} 
		
		public override function clone():Event { 
			return new XMLServiceEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String { 
			return formatToString("XMLServiceEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}